package com.hp.action;

import com.opensymphony.xwork2.ActionSupport;

public class JumpAction extends ActionSupport{
	private Integer jump_id;
	
	
	
	public Integer getJump_id() {
		return jump_id;
	}



	public void setJump_id(Integer jump_id) {
		this.jump_id = jump_id;
	}



	@Override
	public String execute() throws Exception {
		String dothing =null;
		switch (jump_id) {
		case 1:
			dothing= "login";
			break;

		case 2:
			dothing="regies";
			break;
		}
		return dothing;
	}
}
